<script type="text/javascript">
function getElement(iElementId)
{
	if (document.all) 
	{
		return document.all[iElementId];
	}
	if (document.getElementById)
	{
		return document.getElementById(iElementId);
	}
}

function toggleElement(oElement)
{
	if (oElement.style.display == "none")
	{
		oElement.style.display = "";
	}
	else
	{
		oElement.style.display = "none";
	}
}
</script>
<div class="block_data">
<!-- BEGIN imageblock -->
<table class="tablebg" cellspacing="1" width="100%">
	<!-- BEGIN imagerow -->
	<tr>
		<!-- BEGIN image -->
		<td class="row2" valign="top" style="width: {S_COL_WIDTH};">
			<table width="100%" cellpadding="2" cellspacing="5" border="0" class="forumline">
				<tr>
					<td align="center" class="row1" style="height: {S_THUMBNAIL_SIZE}px;">
					<span class="genmed">{imageblock.imagerow.image.UC_THUMBNAIL}</span>
					</td>
				</tr>
				<tr>
					<td class="row2" valign="top">
					<div class="gensmall" style="overflow: hidden;">
					<!-- IF imageblock.imagerow.image.CONTEST_RANK -->{L_CONTEST_RESULT}: <strong>{imageblock.imagerow.image.CONTEST_RANK}</strong><br /><!-- ENDIF -->
					<!-- IF (imageblock.imagerow.image.S_LOCKED or imageblock.imagerow.image.S_UNAPPROVED) and imageblock.imagerow.image.U_STATUS --><a style="font-weight: bold;" class="reported-images-number" href="{imageblock.imagerow.image.U_STATUS}">{imageblock.imagerow.image.L_STATUS}</a><br /><br /><!-- ENDIF -->
					<!-- IF imageblock.imagerow.image.S_REPORTED and imageblock.imagerow.image.U_REPORT --><a style="font-weight: bold;" class="reported-images-number" href="{imageblock.imagerow.image.U_REPORT}">{L_READ_REPORT}</a><br /><br /><!-- ENDIF -->
						<!-- IF imageblock.imagerow.image.UC_IMAGE_NAME -->{L_IMAGE_NAME}: {imageblock.imagerow.image.UC_IMAGE_NAME}<br /><!-- ENDIF -->
						<!-- IF imageblock.imagerow.image.U_ALBUM -->{L_ALBUM_NAME}: <a href="{imageblock.imagerow.image.U_ALBUM}" style="font-weight: bold;" title="{imageblock.imagerow.image.ALBUM_NAME_FULL}">{imageblock.imagerow.image.ALBUM_NAME}</a><br /><!-- ENDIF -->
						<!-- IF imageblock.imagerow.image.U_REPORT or imageblock.imagerow.image.U_STATUS or imageblock.imagerow.image.U_MOVE or  imageblock.imagerow.image.U_EDIT or imageblock.imagerow.image.U_DELETE -->
						<a href="javascript: toggleElement( getElement('moderate_imageblock.imagerow_{imageblock.imagerow.image.IMAGE_ID}'));">{L_MODERATE}</a>
						<div id="moderate_imageblock.imagerow_{imageblock.imagerow.image.IMAGE_ID}" style="display: none;">
							<!-- IF imageblock.imagerow.image.U_REPORT -->&#187; <a href="{imageblock.imagerow.image.U_REPORT}" class="reported-images-number">{L_READ_REPORT}</a><br /><!-- ENDIF -->
							<!-- IF imageblock.imagerow.image.U_STATUS -->&#187; <a href="{imageblock.imagerow.image.U_STATUS}">{imageblock.imagerow.image.L_STATUS}</a><br /><!-- ENDIF -->
							<!-- IF imageblock.imagerow.image.U_MOVE -->&#187; <a href="{imageblock.imagerow.image.U_MOVE}">{L_MOVE}</a><br /><!-- ENDIF -->
							<!-- IF imageblock.imagerow.image.U_EDIT -->&#187; <a href="{imageblock.imagerow.image.U_EDIT}"><span class="icon_edit"><img src="{T_THEME_PATH}/images/spacer.gif" width="26" height="18" alt="" title="" /></span><span class="icon_s">{L_EDIT_IMAGE}</span><span class="icon_r"><img src="{T_THEME_PATH}/images/spacer.gif" width="6" height="18" alt="" title="" /></span></a><br /><!-- ENDIF -->
							<!-- IF imageblock.imagerow.image.U_DELETE -->&#187; <a href="{imageblock.imagerow.image.U_DELETE}"><span class="icon_delete"><img src="{T_THEME_PATH}/images/spacer.gif" width="26" height="18" alt="" title="" /></span><span class="icon_s">{L_DELETE_IMAGE}</span><span class="icon_r"><img src="{T_THEME_PATH}/images/spacer.gif" width="6" height="18" alt="" title="" /></span></a><br /><!-- ENDIF -->
						</div>
						<!-- ENDIF -->
					</div>
					<hr>
					</td>
				</tr>
			</table>
		</td>
		<!-- END image -->
		<!-- BEGIN no_image --> 
			<td class="row2" valign="top" style="width: {S_COL_WIDTH};">
				<table width="100%" cellpadding="2" cellspacing="10" border="0" class="forumline"><tr>
				<td style="height: {S_THUMBNAIL_SIZE}px;" class="row1"></td>
				</tr></table>
			</td> 
		<!-- END no_image -->
	</tr>
	<!-- END imagerow -->
	<!-- IF S_IN_ALBUM or (S_SELECT_SORT_KEY and SEARCH_IN_RESULTS) -->
	<tr>
		<td class="cat" colspan="{S_COLS}" align="center" height="28">
			<form action="{S_ALBUM_ACTION}" method="post"><span class="gensmall">{L_SORT_BY}</span> {S_SELECT_SORT_KEY} {S_SELECT_SORT_DIR}&nbsp;<input class="btnlite" type="submit" name="sort" value="{L_GO}" /></form>
		</td>
	</tr>
	<!-- ENDIF -->
</table>
<br clear="all" />
<!-- END imageblock -->

</div>